package com.mask.im.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mask.im.business.model.dto.FriendFeedDTO;
import com.mask.im.business.model.entity.chat.IMFriendDynamicDO;
import com.mask.im.business.model.vo.FriendFeedCommentVO;
import com.mask.im.business.model.vo.PostUpdatesVO;
import com.mask.im.business.common.model.RestResponse;

import java.util.List;


/**
 * 朋友动态管理
 * @author jian
 */
public interface IMFriendDynamicService extends IService<IMFriendDynamicDO> {

	RestResponse<String> PostUpdates(PostUpdatesVO postUpdatesVO);

	RestResponse<List<FriendFeedDTO>> dynamicLists();

	RestResponse<String> friendFeedComment(FriendFeedCommentVO friendFeedCommentVO);

	RestResponse<String> friendFeedLit(Integer friendFeedId);

	RestResponse<FriendFeedDTO> dynamicById(Integer friendFeedId);

	RestResponse<List<FriendFeedDTO>> ownDynamicsLists();

	RestResponse<String> delMyselfDynamic(Integer id);
}

